package com.yuandengta.yomall.order.dao;

import com.yuandengta.yomall.order.entity.OrderEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 订单
 * 
 * @author kevin
 * @email 178676392@qq.com
 * @date 2020-12-20 20:30:07
 */
@Mapper
public interface OrderDao extends BaseMapper<OrderEntity> {

    /**
     * 修改订单状态
     * @param outTradeNo
     * @param status
     */
    void updateOrderStatus(@Param("outTradeNo") String outTradeNo, @Param("status") Integer status);
}
